package com.teachsys.tms.service;

import com.teachsys.tms.dao.UserDao;
import com.teachsys.tms.entity.User;
import com.teachsys.tms.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService{

    @Autowired
    private UserDao userDao;

    @Override
    public User query(String username) {
        return this.userDao.query(username);
    }
}
